package com.wkw.jkyf.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wkw.jkyf.pojo.Returnsupplier;
import com.wkw.jkyf.pojo.Returnsupplier;
import com.wkw.jkyf.pojo.Saleinfo;

//退货给供应商
public interface IReturnsupplierService extends IService<Returnsupplier> {
    //分页查询数据
    // pageNum 第几页 pageSize 页面大小  查询参数
    public IPage<Returnsupplier> selectReturnsupplierPage(int pageNum, int pageSize, String param);


    //添加
    public int addReturnsupplier(Returnsupplier returnsupplier);

    //修改
    public int editReturnsupplier(Returnsupplier returnsupplier);

    //根据主键id查询
    public Returnsupplier queryReturnsupplierById(Integer id);


    //根据主键id删除
    public int deleteReturnsupplierById(Integer id);
}
